<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <table border="1">
        <tr>
            <td>张三</td>
            <td>男</td>
            <td>未婚</td>
        </tr>
        <tr>
            <td>李四</td>
            <td>女</td>
            <td>已婚</td>
        </tr>
    </table>
    <table border="1" style="width: 300px;"></table>
    <tr>
        <th>姓名</th>
        <th>性别</th>
        <th>婚姻</th>
    </tr>
    <tr>
        <td>张三</td>
        <td>男</td>
        <td>未婚</td>
    </tr>
    <tr>
        <th>李四</th>
        <th>女</th>
        <th>未婚</th>
    </tr>
    <thead>
        <tr>
            <td>姓名</td>
            <td>性别</td>
            <td>婚姻</td>
        </tr>
    </thead>
    <tfoot>
        <tr>
            <td colspan="3">统计:共两名</td>
        </tr>
    </tfoot>
    <tbody>
        <tr>
            <td>张三</td>
            <td>男</td>
            <td>已婚</td>
        </tr>
        <tr>
            <td>李四</td>
            <td>女</td>
            <td>未婚</td>
        </tr>
    </tbody>
    <caption>表格标题</caption>
    <colgroup span="2" style="background: red;">
    <colgroup>
        <col>
        <col style="background: red"; span="1">
    </colgroup>
</body>
</html>